﻿<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="css/bootstrap.css" rel="stylesheet"></link>
    <link rel="stylesheet" type="text/css" href="css/style.css"></link>
    <style type="text/css">

      body{padding-top: 40px;}
      .hero-unit{height:700px;}
      .well li{padding: 10px;}

    </style>
  </head>
  <body>
    <div class="container-fluid">
  <div class="row-fluid">
    <div class="span12 well">


      <button type="button" class="btn btn-primary" onclick="gismap.select()">选择</button>
      <button type="button" class="btn btn-primary" onclick="gismap.drawPath()">添加轨迹</button>
      <button type="button" class="btn btn-primary" onclick="gismap.drawKGX()">低压开关箱</button>
      <button type="button" class="btn btn-primary" onclick="gismap.drawFJX()">低压分接箱</button>
      <button type="button" class="btn btn-primary" onclick="gismap.drawJKX()">低压架空线</button>
      <button type="button" class="btn btn-primary"  onclick="gismap.drawDL()">低压电缆</button>
      <button type="button" class="btn btn-primary" onclick="gismap.drawFZX()">低压辅助线</button>
      <button type="button" class="btn btn-primary">低压开关</button>
      <button type="button" class="btn btn-primary">低压刀闸</button>
      <button type="button" class="btn btn-primary">低压杆塔</button>
      <button type="button" class="btn btn-primary">低压表箱</button>
      
      <button type="button" class="btn btn-primary" onclick="gismap.getAllMarkerFormDB()">查看markerDB</button>
      
      <button type="button" class="btn btn-primary" onclick="gismap.getAllMarkerFormTemDB()">查看markerTemDB</button>
      <button type="button" class="btn btn-primary" onclick="gismap.getPolylineFormDB()">查看polyLineDB</button>
      <button type="button" class="btn btn-primary" onclick="gismap.getAllPolylineFormTemDB()">查看polyLineTemDB</button>
      <button type="button" class="btn btn-primary" onclick="gismap.delPath()">清除轨迹</button>
      
    </div>

  </div>

<div class="row-fluid">
	
	 <div class="span10">
      <div class="hero-unit" id="mapbox">
            
      </div>
    </div>
	
    <div class="span2">

      <div class="well" id="log">
           


      </div>


    </div>
   
  </div>
</div>

    <script src="http://maps.google.com/maps/api/js?sensor=false&language=zh-cn&libraries=geometry,drawing" type="text/javascript"></script>
    <script src="js/markermanager.js"></script>
    <script src="js/maplabel.js"></script>
    <script src="js/taffy.js"></script>
    <script src="js/sylvester.js"></script>
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/gmap_style_custom.js"></script>
    <script src="js/dm.js"></script>
    <script src="js/dmgismapv1.0.js"></script>

    <script type="text/javascript">

     var gismap = DM.gismap();
         gismap.init(document.getElementById("mapbox"))

    </script>
  </body>
</html>